fun foo(vararg s: String){}

fun bar(array: Array<String>) {
    foo(<caret>s = *array)
}